﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SortObjectsViewCommunes
/// </summary>
public class SortObjectsViewCommunes : IComparer<View_Communes>
{
    public int Compare(View_Communes vcomm1, View_Communes vcomm2)
    {
        return (vcomm1.ComID < vcomm2.ComID) ? 1 : ((vcomm1.ComID > vcomm2.ComID) ? -1 : 0);
    }
}